﻿using System;
namespace CollegeShop.Api.Entity
{
	/// <summary>
	/// t_purchase:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class t_purchase
	{
		public t_purchase()
		{}
		#region Model
		private int _id;
		private string _purchasenumber;
		private int _providerid;
		private int _sumamount;
		private decimal _summoney;
		private int _state;
		private string _remark;
		private string _createuser;
		private DateTime _createtime;
		private string _audituser;
		private DateTime _audittime;
		private DateTime _completetime;
		private decimal _payedmoney;
		/// <summary>
		/// auto_increment
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PurchaseNumber
		{
			set{ _purchasenumber=value;}
			get{return _purchasenumber;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ProviderID
		{
			set{ _providerid=value;}
			get{return _providerid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int SumAmount
		{
			set{ _sumamount=value;}
			get{return _sumamount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal SumMoney
		{
			set{ _summoney=value;}
			get{return _summoney;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int State
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreateUser
		{
			set{ _createuser=value;}
			get{return _createuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string AuditUser
		{
			set{ _audituser=value;}
			get{return _audituser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime AuditTime
		{
			set{ _audittime=value;}
			get{return _audittime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime CompleteTime
		{
			set{ _completetime=value;}
			get{return _completetime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal PayedMoney
		{
			set{ _payedmoney=value;}
			get{return _payedmoney;}
		}
		#endregion Model

	}
}

